package org.spolo.android.bean;

import java.util.ArrayList;

import org.spolo.android.nodetree.Vcanvas;

import android.view.MotionEvent;

public class ActionParameter {
	private String actionType;
	//该属性用于记录是哪一个vcanvas响应按下等事件
	private Vcanvas vcanvas;
	private ArrayList<MotionEvent> events = new ArrayList<MotionEvent>();

	public ArrayList<MotionEvent> getEvents() {
		return events;
	}

	public void setEvents(MotionEvent events) {
		this.events.add(events);
	}

	private int X;
	private int Y;

	public String getActionType() {
		return actionType;
	}

	public void setActionType(String actionType) {
		this.actionType = actionType;
	}

	public int getX() {
		return X;
	}

	public void setX(int x) {
		X = x;
	}

	public int getY() {
		return Y;
	}

	public void setY(int y) {
		Y = y;
	}

	public Vcanvas getVcanvas() {
		return vcanvas;
	}

	public void setVcanvas(Vcanvas vcanvas) {
		this.vcanvas = vcanvas;
	}

}
